var swiperH = new Swiper('.swiper-container-h', {
    pagination: '.swiper-pagination-h',
    paginationClickable: true,
    nextButton: '.swiper-button-next',
    prevButton: '.swiper-button-prev',
    observer: true,
    observeParents: true,
    loop: true
});
var swiperV = new Swiper('.swiper-container-v', {
    pagination: '.swiper-pagination-v',
    paginationClickable: true,
    direction: 'vertical'
});
function fixPagesHeight() {
    if ($(window).width() > 750) {       
        $('.body').css({height: $(window).height(), width:$(window).height() * 750 / 1334});
                $('.slide1').css({height: $(window).height()});
        $("html").css({fontSize: $(window).height() * 100 / 1334+"px"});
    }
}
 var tick=setTimeout(function(){
    fixPagesHeight(); 
 },500);
$(window).resize(function(){
    fixPagesHeight();
});
fixPagesHeight();

